package org.course.weather.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.course.weather.entity.WeatherBean;

import java.util.List;

@Mapper
public interface TWeatherMapper {
    List<WeatherBean> getAllWeather();
    WeatherBean getWeatherByCityName(String scity);
    WeatherBean getWeatherByCityId(Integer id);
    Integer addCityWeather(WeatherBean weatherBean);
    int updateCityWeather(WeatherBean weatherBean);
}
